Optimal. Leaf size=39 \[ \frac{(b \csc (e+f x))^m \, _2F_1\left (1,\frac{m}{2};\frac{m+2}{2};\csc ^2(e+f x)\right )}{f m} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0357686, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {2606, 364} \[ \frac{(b \csc (e+f x))^m \, _2F_1\left (1,\frac{m}{2};\frac{m+2}{2};\csc ^2(e+f x)\right )}{f m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2606
Rule 364
Rubi steps
\begin{align*} \int (b \csc (e+f x))^m \tan (e+f x) \, dx &=-\frac{b \operatorname{Subst}\left (\int \frac{(b x)^{-1+m}}{-1+x^2} \, dx,x,\csc (e+f x)\right )}{f}\\ &=\frac{(b \csc (e+f x))^m \, _2F_1\left (1,\frac{m}{2};\frac{2+m}{2};\csc ^2(e+f x)\right )}{f m}\\ \end{align*}
Mathematica [A] time = 0.0491627, size = 52, normalized size = 1.33 \[ -\frac{\sin ^2(e+f x) (b \csc (e+f x))^m \, _2F_1\left (1,1-\frac{m}{2};2-\frac{m}{2};\sin ^2(e+f x)\right )}{f (m-2)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.441, size = 0, normalized size = 0. \begin{align*} \int \left ( b\csc \left ( fx+e \right ) \right ) ^{m}\tan \left ( fx+e \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \csc \left (f x + e\right )\right )^{m} \tan \left (f x + e\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (b \csc \left (f x + e\right )\right )^{m} \tan \left (f x + e\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \csc{\left (e + f x \right )}\right )^{m} \tan{\left (e + f x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \csc \left (f x + e\right )\right )^{m} \tan \left (f x + e\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]